/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.storage.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * 品牌关注Entity
 */
@Table(name="biz_brand_focus", alias="a", columns={
		@Column(name="id", attrName="id", label="唯一标识", isPK=true),
		@Column(name="trans_member_id", attrName="transMemberId", label="转发会员Id"),
		@Column(name="member_id", attrName="memberId", label="会员Id"),
		@Column(name="brand_id", attrName="brandId", label="品牌id"),
		@Column(name="create_date", attrName="createDate", label="创建时间", isUpdate=false, isQuery=false),
		@Column(name="update_date", attrName="updateDate", label="更新时间", isQuery=false),
	}, orderBy="a.update_date DESC"
)
public class BrandFocus extends DataEntity<BrandFocus> {
	
	private static final long serialVersionUID = 1L;
	private String transMemberId;		// 转发会员Id
	private String memberId;		// 会员Id
	private String brandId;		// 品牌id
	
	public BrandFocus() {
		this(null);
	}

	public BrandFocus(String id){
		super(id);
	}

	public String getTransMemberId() {
		return transMemberId;
	}

	public void setTransMemberId(String refMemberId) {
		this.transMemberId = refMemberId;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String getBrandId() {
		return brandId;
	}

	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}
	
}